﻿namespace Authority.Model
{
    /// <summary>
    /// 根据角色code和菜单code获取可操作按钮返回信息
    /// </summary>
    public class RoleMenuButtonsListResponse
    {
        /// <summary>
        /// 唯一标识符
        /// </summary>
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 角色按钮唯一标识符
        /// </summary>
        public string gRoleButtonCode
        {
            get; set;
        }

        /// <summary>
        /// 菜单按钮唯一标识符
        /// </summary>
        public string gMenuButtonCode
        {
            get; set;
        }

        /// <summary>
        /// 按钮ID
        /// </summary>
        public string sId
        {
            get; set;
        }

        /// <summary>
        /// 按钮名称
        /// </summary>
        public string sName
        {
            get; set;
        }

        /// <summary>
        /// 按钮html源码
        /// </summary>
        public string sHtml
        {
            get; set;
        }

        /// <summary>
        /// 列表按钮html源码
        /// </summary>
        public string sHtmlXs
        {
            get; set;
        }

        /// <summary>
        /// 小按钮特殊处理脚本
        /// </summary>
        public string sMinBtnRemark
        {
            get; set;
        }
        
        /// <summary>
        /// 显示排序
        /// </summary>
        public float? iSort
        {
            get; set;
        }

        /// <summary>
        /// 按钮类型 0普通按钮 1小按钮 2都有
        /// </summary>
        public int? iType
        {
            get; set;
        }
    }
}
